<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>呼叫报表统计</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">

    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>

    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css" />
    <link rel="stylesheet" href="/css/input_tags.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css" />
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/js/need/select.2.0.css" />
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/customerManager/user/myCustomerPool.css"/>
</head>
<body>
<input type="hidden" id="companyId" name="companyId" th:value="${companyId}"/>
<div class="container-fluid customer-page">
    <div class="card">
        <div class="card-header">
            <h1>呼叫报表统计</h1>
        </div>

        <div class="card-body charts-body">
            <div class="charts-action clearfix">
                <!-- 1上月 2本周 3本月 4本季度 5本年度 -->
                <div class="time-search pull-left">
                    <input type="hidden" id="dateUnit" name="dateUnit" value=1 />
                    <div class="lastMonth active-second" onclick="selectTime('lastMonth')">上月</div>
<!--                    <div class="week" onclick="selectTime('week')">本周</div>-->
                    <div class="month" onclick="selectTime('month')">本月</div>
<!--                    <div class="quarterly" onclick="selectTime('quarterly')">本季度</div>-->
<!--                    <div class="year" onclick="selectTime('year')">本年度</div>-->
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <div class="card charts-card">
                        <div class="card-header">
                            <h4>呼叫统计表</h4>
                        </div>
                        <div class="card-body" style="padding-top: 20px;">
                            <div class="row poly-line">
                                <div class="col-xs-3">
                                    <h6>通话时长60秒以内</h6>
                                    <strong id="CallTime30"></strong>
                                    <!--<p>较<span class="typeName">上月</span><i class="mdi mdi-arrow-up-bold"></i><span id="percentage30"></span></p>-->
                                </div>
                                <div class="col-xs-3">
                                    <h6>通话时长60-90秒</h6>
                                    <strong id="CallTime60"></strong>
                                    <!--<p>较<span class="typeName">上月</span><i class="mdi mdi-arrow-up-bold"></i><span id="percentage60"></span></p>-->
                                </div>
                                <div class="col-xs-3">
                                    <h6>通话时长60秒以上</h6>
                                    <strong id="CallTime90"></strong>
                                    <!--<p>较<span class="typeName">上月</span><i class="mdi mdi-arrow-up-bold"></i><span id="percentage90"></span></p>-->
                                </div>
                                <div class="col-xs-3">
                                    <h6>通话时长大于90秒</h6>
                                    <strong id="CallTimeMore"></strong>
                                    <!--<p>较<span class="typeName">上月</span><i class="mdi mdi-arrow-up-bold"></i><span id="percentageMore"></span></p>-->
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <div id="polyLine"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12" style="margin-bottom: 20px;">
                <div class="timeList" >
                    <div class="time-search pull-left">
                        <input type="hidden" id="dateType" name="dateType" value="day"/>
                        <div class="topYear active-second" onclick="timeSelectTable(this,'day')">今日</div>
                        <div class="year" onclick="timeSelectTable(this,'yesday')">昨日</div>
                        <div class="week" onclick="timeSelectTable(this,'week')">本周</div>
                        <div class="month" onclick="timeSelectTable(this,'month')">本月</div>
                        <div class="customer" onclick="timeSelectTable(this,'')">自定义</div>
                    </div>

                    <div class="custom-input pull-left" id="customInput" style="margin-left: 10px;width: 410px;">
                        <div class="input-group">
                            <input type="text" class="form-control datepicker" placeholder="开始时间" id="startTm">
                            <span class="input-group-addon">至</span>
                            <input type="text" class="form-control datepicker" placeholder="结束时间" id="endTm">
                            <div class="input-group-btn">
                                <button type="button" class="btn btn-default" id="customDateBtn">确定</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="card charts-card">
                    <table id="labelNumTable"></table>
            </div>
        </div>
    </div>

</div>
</body>


<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>

<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<script src="/js/verSelect.2.0.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!-- -&#45;&#45;-->
<!--标签插件-->
<script src="/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<!--时间选择插件-->

<!-- 图表 -->
<script type="text/javascript" src="/js/echarts.min.js"></script>
<!-- 多选框下拉 -->
<script src="/js/verSelect.2.0.js"></script>
<script src="/js/crm/callcenter/user/newCallReport.js"></script>
</html>